<div class="row-fluid">
    <div class="span12">

        <div class="demo-info" style="margin-bottom:10px">
            <div class="demo-tip icon-tip"></div>
            <div>
                Click on a row to select it, click again to deselect it.
                Click the New to add new row.
                Click on Edit to begin editing on a selected row.
                Click Save to save the row.
                Click on Cancel to quit changes to a row.
                Click on Delete to delete selected rows.
            </div>
        </div>

        <table id="flex" style="display:none;"></table>
    </div>
</div>

<!-- URLs -->
<input type="hidden" id="table-url" value="<?php echo $this->Html->url(array('controller' => 'Admin', 'action' => 'supported_countries/get')); ?>" />
<input type="hidden" id="table-editable-url" value="<?php echo $this->Html->url(array('controller' => 'Admin', 'action' => 'supported_countries/save')); ?>" />
<input type="hidden" id="load_url" value="<?php echo $this->Html->url(array('controller' => 'Admin', 'action' => 'supported_countries/load')); ?>" />
<input type="hidden" id="delete_url" value="<?php echo $this->Html->url(array('controller' => 'Admin', 'action' => 'supported_countries/delete')); ?>" />

<!-- Le Script -->
<script type="text/javascript">
    var permissions = <?php echo json_encode($permissions); ?>;
</script>
<?php
echo $this->Html->script('scripts/admin/supported_countries.js');
?>
